Ext.create('Ext.panel.Panel', {
		title : '图片信息表',
		renderTo : Ext.getBody(),
		store : userStore,// 此表格控件的数据由userStore数据中心提供支持
		// 宽度
		layout : 'fit',
		// height:500,
		id : 'images-view',
		frame : true,
		width : 535,
		autoHeight : true,
		collapsible : true,
		layout : 'fit',
		title : 'Simple DataView with editable labels, multi and drag selection',
		items: [new Ext.DataView({

         store: store,

             tpl: tpl,

          autoHeight:true,

multiSelect: true,

overClass:'x-view-over',

itemSelector:'div.thumb-wrap',

emptyText: 'No images to display',

 //plugins: [

//new Ext.DataView.DragSelector(),

//new Ext.DataView.LabelEditor({dataIndex: 'name'})

//],

prepareData: function(data){

data.shortName = Ext.util.Format.ellipsis(data.name, 15);

data.sizeString = Ext.util.Format.fileSize(data.size);

data.dateString = data.lastmod.format("m/d/Y g:i a");

return data;

}
		
		
	})]

});